<template>
  <a-config-provider :locale="zhCN">
    <router-view></router-view>
  </a-config-provider>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import moment from 'moment'
import zhCN from 'ant-design-vue/es/locale/zh_CN'
import 'moment/dist/locale/zh-cn';
export default defineComponent({
  name: 'App',
  setup () {
    moment.locale(zhCN.locale)
    return {
      zhCN
    }
  }
})
</script>

<style lang="less">
  @import "@/assets/css/app.less";
</style>